package ${servicePackage}.repository.in;

import ${pojoPackage}.entity.${className};
import ${corePackage}.repository.IRepository;
import java.util.Map;
import java.util.List;

<#if isServerEntity>
    import ${pojoPackage}.dto.${classOtherName}.Select${className}Dto;
    import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
</#if>
/**
* 【描 述】：
* 【环 境】：J2SE
* 【详 细】：
*
*/
public interface ${className}Repository extends IRepository< ${className} > {


<#if isServerEntity>
    /**
    * 搜索${entityName}
    * @param dto
    * @return
    */
    Page< ${className} > select${className}(Select${className}Dto dto);
</#if>

    /**
    * 获取Map
    * @param ids
    * @return
    */
    Map<Long, ${className}> getMap(List<Long> ids);

}